<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> - 操作员</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="__PUBLIC__/newWeb/css/bootstrap.min.css" rel="stylesheet">
    <link href="__PUBLIC__/newWeb/css/font-awesome.css" rel="stylesheet">
    <link href="__PUBLIC__/newWeb/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__PUBLIC__/newWeb/css/animate.css" rel="stylesheet">
    <link href="__PUBLIC__/newWeb/css/style.css" rel="stylesheet">
    <style>
        .float-e-margins .btn{
            margin: 0;
        }
    </style>
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>操作员</h5>
                        <div class="ibox-tools">
                            <a class="btn btn-info btn-xs" href="{:U('AdminUser/edit')}">
                                新增
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <table class="table table-bordered">
                            <thead>
                                <tr>
                                    <th>id</th>
                                    <th>账户名</th>
                                    <th>关联角色</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                             <volist name="list" id="data">
                            <tbody>
                                <tr>
                                    <td>{$data.id}</td>
                                    <td>{$data.username}</td>
                                    <td>{$data.rolename}</td>
                                    <td>
                                        <a href="{:U('AdminUser/edit',['id'=>$data['id']])}" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i>&nbsp;编辑</a>&nbsp;&nbsp;
                                        <a href="{:U('AdminUser/delete',['id'=>$data['id']])}" class="btn btn-white btn-sm"><i class="fa fa-trash"></i>&nbsp;删除</a></td>
                                </tr>

                            </tbody>
                           </volist> 
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 全局js -->
    <script src="__PUBLIC__/newWeb/js/jquery.min.js"></script>
    <script src="__PUBLIC__/newWeb/js/bootstrap.min.js"></script>
    <script>
    </script>
</body>
</html>